

<div class="pageContent">

    <form action="__URL__/insert/navTabId/{:CONTROLLER_NAME}" id="j_custom_form" class="pageForm form-validate" method="post" callback="dialogAjaxDone" noEnter>
      
        <div class="pageFormContent form-horizontal" layouth="60">
            <div class="form-group">
                <label for="j_username" class="col-sm-2 control-label">用户名：</label>
               
                <input type="text" size="30" class="form-control validate[required,custom[onlyLetterNumber],minSize[3]] required"  name="username" id="j_username" value=""  >
               
            </div>
            
            <div class="form-group">
                <label for="j_nickname" class="control-label col-sm-2 ">昵称：</label>
               
                <input type="text" class="form-control validate[required] required" size="30" name="nickname" id="j_nickname" value="" >
               
            </div>
            <div class="form-group">
                <label for="j_email" class="control-label col-sm-2">Email：</label>
                <input type="text" class="form-control validate[custom[email],required] required" size="30" name="email" id="j_email" value="" >
            </div>
            <div class="form-group">
                <label for="j_password" class="control-label col-sm-2 ">密码：</label>
               
                <input type="password" class="form-control validate[required,minSize[6]] required" name="password" id="j_password" value="" size="24">
                
            </div>
            <div class="form-group">
                <label for="j_roleId" class="control-label col-sm-2 ">管理组：</label>
                

				<input name="roleId" class="zs-lookup" value="" type="hidden" id="j_roleId" zs-name="role.id">
				<input  type="text" class="zs-lookup form-control pull-left" size="18"   zs-name="role.name"  value="" readonly="readonly" >
                
                <a class="pull-left" href="{:U('rolelist')}" lookupgroup="role"><i class="icon-search"></i></a>
                
                 
            </div>
             <div class="form-group">
                <label for="j_mroleId" class="control-label col-sm-2">会员组：</label>
                <select name="mroleId" id="j_mroleId"  data-container="body"  class="selectpicker show-tick validate[required]" data-style="btn-default btn-sm" data-width="auto">
                               
                              
	              		 <option value="">请选择会员组</option>
		        <volist name="mlist" id="mlist">
						<option value="{$mlist.id}" <eq name="vo.mroleid" value="$mlist.id" >selected</eq>>{$mlist.name}</option>
                                                <volist name="mlist['_child']" id="sub">
                                                    <option value="{$sub.id}" <eq name="vo.mroleid" value="$sub.id" >selected</eq>>&nbsp;&nbsp;&nbsp;&nbsp;{$sub.name}</option>
                                                       <volist name="sub['_child']" id="threetree">
                                                            <option value="{$threetree.id}" <eq name="vo.mroleid" value="$threetree.id" >selected</eq>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$threetree.name}</option>
                                                        </volist>
                                                </volist>
					</volist>
                 </select>
                 
            </div>

		</div>
		<div class="formBar">
            <ul>
                <li><button type="submit" class="btn btn-primary btn-sm">保存</button></li>
                <li><button type="button" class="btn btn-close btn-sm">取消</button></li>
            </ul>
		</div>
    </form>
</div>
